<?php
if (!defined("HDPHP_PATH"))exit('No direct script access allowed');
//更多配置请查看hdphp/Config/config.php
return array(
	  /********************************数据库********************************/
 'DB_DRIVER'                     => 'mysqli',    //数据库驱动
    'DB_CHARSET'                    => 'utf8',      //数据库字符集
    'DB_HOST'                       => '127.0.0.1', //数据库连接主机  如127.0.0.1
    'DB_PORT'                       => 3306,        //数据库连接端口
    'DB_USER'                       => 'root',      //数据库用户名
    'DB_PASSWORD'                   => '',          //数据库密码
    'DB_DATABASE'                   => 'tshop',          //数据库名称
    'DB_PREFIX'                     => 'hd_g_',          //表前缀
    'DB_BACKUP'                     => 'backup/',   //数据库备份目录
    'DB_PCONNECT'                     => true,   //数据库持久链接
    // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    'DEFAULT_APP'                   => 'Admin',     //默认项目
    // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    'TPL_FIX'                       => '.php',     //模版文件扩展名
      // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
      'AUTO_LOAD_FILE'                => array("functions.php"),     //自动加载应用Lib目录或应用组Common/Lib目录下的文件
        /********************************图像水印处理********************************/
    'WATER_ON'                      => TRUE,           //开关
    'WATER_FONT'                    => HDPHP_PATH . 'Data/Font/font.ttf',   //水印字体
    'WATER_IMG'                     => HDPHP_PATH . 'Data/Image/water.png', //水印图像
    'WATER_POS'                     => 9,           //位置  1~9九个位置  0为随机
    'WATER_PCT'                     => 60,          //透明度
    'WATER_QUALITY'                 => 80,          //压缩比
    'WATER_TEXT'                    => 'WWW.HOUDUNWANG.COM', //水印文字
    'WATER_TEXT_COLOR'              => '#f00f00',   //文字颜色
    'WATER_TEXT_SIZE'               => 12,          //文字大小
);
?>